<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<body>
	<h3>Example for Spring MVC Excel Export</h3>
	<h5>Animal List</h5>
	<h4><a href="./export.action">Export</a></h4>
	<table border="1">
		<tr>
			<td>Id</td>
			<td>Name</td>
			<td>Type</td>
			<td>Aggressive</td>
			<td>Weight</td>
		</tr>
		<c:forEach items="${animalList}" var="animal">
			<tr>
				<td><c:out value="${animal.id}"/></td>
				<td><c:out value="${animal.animalName}"/></td>
				<td><c:out value="${animal.animalType}"/></td>
				<td><c:out value="${animal.aggressive}"/></td>
				<td><c:out value="${animal.weight}"/></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>
